<template>
  <div class="app-container" style="background: #f3f4f6;flex: 1;padding: 24px;box-sizing: border-box;overflow: hidden;">
    <div class="teacher_info_wrap">
      <div class="trainingPublish-title">培训基本信息</div>

    </div>
  </div>
</template>

<script>
import { addTeacher } from "@/api/classai/teacher";
import {addTraining, getTraining, updateTraining} from "@/api/classai/training";

export default {
  name: "CourseSituation",
  dicts: ['px_type'],
  data() {
    return {
      // 表单参数
      form: {},
      // 表单校验
      rules: {
        trainingTitle: [
          { required: true, message: "培训名称不能为空", trigger: "blur" }
        ],
      }
    };
  },
  created(){
    this.getList()
  },
  methods: {
    getList(){
      let id = this.$route.query.id
      getTraining(id).then(response => {
        this.form = response.data;
      });
    },

  }
};
</script>
<style lang="scss" scoped>
.teacher_info_wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0);
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
  padding: 24px;

}
.trainingPublish-title{
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: #1F2937;
  margin-bottom: 24px;
}

</style>
